package com.jake.animal.human;

import com.jake.animal.Animal;

public abstract class Human implements Animal {

    protected String firstName;

    protected String lastName;

    @Override
    public String getFood() {
        return "any";
    }

    @Override
    public void move() {
        System.out.println("Human walk by feet.");
    }

    /**
     * 单一职责原则 SRP
     * @return 获取全名
     */
    public abstract String getFullName();

}
